{% extends "base.html" %}

{% block title %}Pharm - Logout{% endblock title %}

{% block content %}
<h1>Logout</h1>

{% if error_msg %}
<p>{{ error_msg }}</p>
{% else %}
<p>Are you sure you want to log out?</p>
<form method="post" action="/logout/">
    {% csrf_token %}
    <input type="submit" value="Logout" />
</form>
{% endif %}
{% endblock content %}
